package com.theydream.qeechain.map;

import com.google.android.maps.GeoPoint;
import com.google.android.maps.Projection;

/**
 * @author Sum
 *	Data structure to store information of four corners of the screen
 */
public class ScreenLocation {

	// ================================================================
	// Fields
	// ================================================================

	private Projection projection;
	private GeoPoint topLeft;
	private GeoPoint bottomRight;
	private double topLat;
	private double topLon;
	private double bottomLat;
	private double bottomLon;

	// ================================================================
	// Methods
	// ================================================================

	/**
	 * @return the projection
	 */
	public Projection getProjection() {
		return projection;
	}

	/**
	 * @param projection
	 *            the projection to set
	 */
	public void setProjection(Projection projection) {
		this.projection = projection;
	}

	/**
	 * @return the topLeft
	 */
	public GeoPoint getTopLeft() {
		return topLeft;
	}

	/**
	 * @param topLeft
	 *            the topLeft to set
	 */
	public void setTopLeft(GeoPoint topLeft) {
		this.topLeft = topLeft;
	}

	/**
	 * @return the bottomRight
	 */
	public GeoPoint getBottomRight() {
		return bottomRight;
	}

	/**
	 * @param bottomRight
	 *            the bottomRight to set
	 */
	public void setBottomRight(GeoPoint bottomRight) {
		this.bottomRight = bottomRight;
	}

	/**
	 * @return the topLat
	 */
	public double getTopLat() {
		return topLat;
	}

	/**
	 * @param topLat
	 *            the topLat to set
	 */
	public void setTopLat(double topLat) {
		this.topLat = topLat;
	}

	/**
	 * @return the topLon
	 */
	public double getTopLon() {
		return topLon;
	}

	/**
	 * @param topLon
	 *            the topLon to set
	 */
	public void setTopLon(double topLon) {
		this.topLon = topLon;
	}

	/**
	 * @return the bottomLat
	 */
	public double getBottomLat() {
		return bottomLat;
	}

	/**
	 * @param bottomLat
	 *            the bottomLat to set
	 */
	public void setBottomLat(double bottomLat) {
		this.bottomLat = bottomLat;
	}

	/**
	 * @return the bottomLon
	 */
	public double getBottomLon() {
		return bottomLon;
	}

	/**
	 * @param bottomLon
	 *            the bottomLon to set
	 */
	public void setBottomLon(double bottomLon) {
		this.bottomLon = bottomLon;
	}

}
